package com.ysd.entity;

public class Leansnews {
		private int newsId;
		private String newsTitle;
	    private String newsContent;
	    private String newsXiangQin;
	    private int newsCatalogueId;
	    
	    private String newsCatalogueName;//新闻分类的名称

		public int getNewsId() {
			return newsId;
		}

		public void setNewsId(int newsId) {
			this.newsId = newsId;
		}

		public String getNewsTitle() {
			return newsTitle;
		}

		public void setNewsTitle(String newsTitle) {
			this.newsTitle = newsTitle;
		}

		public String getNewsContent() {
			return newsContent;
		}

		public void setNewsContent(String newsContent) {
			this.newsContent = newsContent;
		}

		public String getNewsXiangQin() {
			return newsXiangQin;
		}

		public void setNewsXiangQin(String newsXiangQin) {
			this.newsXiangQin = newsXiangQin;
		}

		public int getNewsCatalogueId() {
			return newsCatalogueId;
		}

		public void setNewsCatalogueId(int newsCatalogueId) {
			this.newsCatalogueId = newsCatalogueId;
		}

		public String getNewsCatalogueName() {
			return newsCatalogueName;
		}

		public void setNewsCatalogueName(String newsCatalogueName) {
			this.newsCatalogueName = newsCatalogueName;
		}

		public Leansnews(int newsId, String newsTitle, String newsContent, String newsXiangQin, int newsCatalogueId,
				String newsCatalogueName) {
			super();
			this.newsId = newsId;
			this.newsTitle = newsTitle;
			this.newsContent = newsContent;
			this.newsXiangQin = newsXiangQin;
			this.newsCatalogueId = newsCatalogueId;
			this.newsCatalogueName = newsCatalogueName;
		}

		public Leansnews(int newsId, String newsTitle, String newsContent, String newsXiangQin,
				int newsCatalogueId) {
			super();
			this.newsId = newsId;
			this.newsTitle = newsTitle;
			this.newsContent = newsContent;
			this.newsXiangQin = newsXiangQin;
			this.newsCatalogueId = newsCatalogueId;
		}

		public Leansnews(int newsId, String newsTitle, String newsContent, String newsXiangQin) {
			super();
			this.newsId = newsId;
			this.newsTitle = newsTitle;
			this.newsContent = newsContent;
			this.newsXiangQin = newsXiangQin;
		}

		public Leansnews(int newsId, String newsTitle, String newsContent) {
			super();
			this.newsId = newsId;
			this.newsTitle = newsTitle;
			this.newsContent = newsContent;
		}

		public Leansnews(int newsId, String newsTitle, String newsContent, int newsCatalogueId) {
			super();
			this.newsId = newsId;
			this.newsTitle = newsTitle;
			this.newsContent = newsContent;
			this.newsCatalogueId = newsCatalogueId;
		}

		@Override
		public String toString() {
			return "Leansnews [newsId=" + newsId + ", newsTitle=" + newsTitle + ", newsContent=" + newsContent
					+ ", newsXiangQin=" + newsXiangQin + ", newsCatalogueId=" + newsCatalogueId + ", newsCatalogueName="
					+ newsCatalogueName + "]";
		}
		
	    
}
